
def composer(f, g):
    
    return lambda x: f(g(x))

def composite_identity(f, g):
    
    "*** YOUR CODE HERE ***"
    def jd(x):
        if composer(f,g)(x)==composer(g,f)(x):
            return True
        else: return False


def sum_digits(y):
    total = 0
    while y > 0:
        total, y = total + y % 10, y // 10
    return total

def is_prime(n):
    if n == 1:
        return False
    k = 2
    while k < n:
        if n % k == 0:
            return False
        k += 1
    return True

def count_cond(condition):
    
    "*** YOUR CODE HERE ***"
    def ans(n):
        sum=0
        for i in range (1,n+1):
            if condition(n,i):
                sum+=1
        return sum
    return ans


def multiple(a, b):
    
    "*** YOUR CODE HERE ***"



def cycle(f1, f2, f3):
    
    "*** YOUR CODE HERE ***"

